>I'm trying to write a C program on SPARC under SunOS.
>My problem is, it doesn't seem that I can use math functions that deal with floating point variables. For example, if I try to run following code, I get a error message.
Since you want to keep secret which "error message" you get, but you
seem to get the message when you run the program, the problem seems
to be that you pass an uninitialized "float" to fabs(). Since you do not
assign anything to "a", the variable contains random garbage. This can
lead to the expected results for some possible implementations of